#include<iostream>
using namespace std;
int main()
{
	int x,i=0,j;
	int a[8] = { 0 };
	cout << "please input the numble that you want to switch:";
	cin >> x;
	while (x >= 1) {

		a[i] = x % 2;
		x = x / 2;
		if (x != 0)
			i++;
	}
	for (; i >= 0; i--)
		cout << a[i];
	

	return 0;
}